import * as actionType from './constants.js';

export const changeIndex = (data) => {
  return {
    type: actionType.CHANGE_INDEX,
    data: data,
  }
}

export const setColorIndex = (data) => {
  return {
    type: actionType.SET_COLORINDEX,
    data: data,
  }
}

export const setWheelIndex = (data) => {
  return {
    type: actionType.SET_WHEELINDEX,
    data: data,
  }
}
